import request from '@/utils/request'

export const getListApi = (params: object) =>
    request({
        url: 'user/list',
        method: 'get',
        params,
    })

export const postSaveApi = (data: object) =>
    request({
        url: 'user/save',
        method: 'post',
        data,
    })

export const getDeleteApi = (params: any) =>
    request({
        url: 'user/delete',
        method: 'get',
        params,
    })